package com.qiyadeng.thread;

public class NotThreadSafe {

	StringBuilder stringBuilder = new StringBuilder();
	
	public void add(String text){
		this.stringBuilder.append(text);
	}
	
	public void print(){
		System.out.println(this.stringBuilder.toString());
	}
}
